<html>
<head><meta charset="utf-8"><title>What&#x27;s the simplest way to build a CrateInfo ? · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/What&#x27;s.20the.20simplest.20way.20to.20build.20a.20CrateInfo.20.3F.html">What&#x27;s the simplest way to build a CrateInfo ?</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="226495316"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/What%27s%20the%20simplest%20way%20to%20build%20a%20CrateInfo%20%3F/near/226495316" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Luca Barbato <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/What&#x27;s.20the.20simplest.20way.20to.20build.20a.20CrateInfo.20.3F.html#226495316">(Feb 16 2021 at 10:18)</a>:</h4>
<p>I'm trying to fix <a href="https://github.com/rust-lang/rust/issues/61089">https://github.com/rust-lang/rust/issues/61089</a> and I'm trying to build the link line in print_crate_info instead of waiting for the linking process to happen.</p>
<p>I tried to write the code but I'm stumbling on a type inference problem, anybody willing to have a look and find the glaring mistake I'm overlooking? ^^</p>



<a name="226496237"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/What%27s%20the%20simplest%20way%20to%20build%20a%20CrateInfo%20%3F/near/226496237" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Luca Barbato <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/What&#x27;s.20the.20simplest.20way.20to.20build.20a.20CrateInfo.20.3F.html#226496237">(Feb 16 2021 at 10:28)</a>:</h4>
<p><a href="https://github.com/rust-lang/rust/pull/82178">https://github.com/rust-lang/rust/pull/82178</a> is the broken code.</p>



<a name="226531338"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/What%27s%20the%20simplest%20way%20to%20build%20a%20CrateInfo%20%3F/near/226531338" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Luca Barbato <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/What&#x27;s.20the.20simplest.20way.20to.20build.20a.20CrateInfo.20.3F.html#226531338">(Feb 16 2021 at 15:59)</a>:</h4>
<p>Now builds :)</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>